package com.suneee.store.entity;

import java.io.Serializable;
import java.sql.Timestamp;

import com.suneee.orm.annotation.Column;
import com.suneee.orm.annotation.Entity;
import com.suneee.orm.annotation.GeneratedValue;
import com.suneee.orm.annotation.GenerationType;
import com.suneee.orm.annotation.Id;
import com.suneee.orm.annotation.Table;

@Entity
@Table(name = "t_stock_temp")
public class StockTemp implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5456964065156991309L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name="temp_id",nullable=false)
	private Integer tempId;
	
	@Column(name="spu_id",nullable=false)
	private Integer spuId;
	
	@Column(name="sku_id",nullable=false)
	private Integer skuId;
	
	@Column(name="stock_type")
	private String stockType;
	
	@Column(name="incoming")
	private Integer incoming;
	
	@Column(name="user_id")
	private Integer userId;
	
	@Column(name="create_time")
	private Timestamp createTime;

	public Integer getTempId() {
		return tempId;
	}

	public void setTempId(Integer tempId) {
		this.tempId = tempId;
	}

	public Integer getSpuId() {
		return spuId;
	}

	public void setSpuId(Integer spuId) {
		this.spuId = spuId;
	}

	public Integer getSkuId() {
		return skuId;
	}

	public void setSkuId(Integer skuId) {
		this.skuId = skuId;
	}

	public String getStockType() {
		return stockType;
	}

	public void setStockType(String stockType) {
		this.stockType = stockType;
	}

	public Integer getIncoming() {
		return incoming;
	}

	public void setIncoming(Integer incoming) {
		this.incoming = incoming;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	
}
